Auto merge of #2160 - alexcrichton:bail-macro, r=huonw
authorbors <bors@rust-lang.org>
Fri, 20 Nov 2015 22:25:31 +0000 (22:25 +0000)
committerbors <bors@rust-lang.org>
Fri, 20 Nov 2015 22:25:31 +0000 (22:25 +0000)
This pattern showed up quite a few locations throughout the codebase but it
ended up meaning that there were some massive levels of indentation when you
actually get to the formatting string. This commit adds a new `bail!` macro
which shortens this idiom to help get the indentation under control throughout
the codebase.


Trivial merge